import com.dmotiko.general.*
import com.dmotiko.chabeli.*
import com.dmotiko.util.*
import mx.utils.Delegate

class ChabeliSection
extends WebSiteSectionOLD {
	
	private var timer:Function;
	
	private function ChabeliSection() {
		super(ChabeliSite.getApp());
		bShowed = false;
	}
	
	private function sectionChanged(evnt) {
		if( getData().getSection() == sName) {
			if(sName != ChabeliSite.PRODUCTOS && evnt.last != ChabeliSite.PRODUCTOS){
				showSection();
			} else {
				MovieEffects.timer();
				this.timer( { frames: 15, bind: this, listener: showSection } );
			}
		} else {
			hideSection();
		}
	}
		
}